import Layout from '@/layout/index'

export default [
  {
    path: '/workOrderCenter',
    name: 'workOrderCenter',
    component: Layout,
    meta: { title: '工单中心', icon: 'menu-workOrderCenter', menuId: 102, showIndex: 3 },
    children: [
      {
        path: 'returnManage',
        name: 'returnManage',
        component: () => import('@/views/workOrderCenter/returnManage/index'),
        meta: { title: '退瓶任务管理', menuId: 10205, showIndex: 1 }
      },
      {
        path: 'repairOrder',
        name: 'repairOrder',
        component: () => import('@/views/workOrderCenter/repairOrder/index'),
        meta: { title: '报修单处理', menuId: 10206, showIndex: 2 }
      },
      {
        path: 'complaintManage',
        name: 'complaintManage',
        component: () => import('@/views/workOrderCenter/complaintManage/index'),
        meta: { title: '投诉管理', menuId: 10208, showIndex: 3 }
      },
      {
        path: 'otherWorkOrder',
        name: 'otherWorkOrder',
        component: () => import('@/views/workOrderCenter/otherWorkOrder/index'),
        meta: { title: '其他工单管理', menuId: 10211, showIndex: 4 }
      }
    ]
  }
]
